package com.xyoto.community.enums;

/**
 * 动态评论回复枚举类
 */
public enum DynamicCommentReplyEnum implements Code {


    DYNAMIC_COMMENT_REPLY_CREATE_ERROR(1191,"创建动态评论回复失败"),
    DYNAMIC_COMMENT_REPLY_DELETE_FAILED(1192,"动态评论回复删除失败"),
    DYNAMIC_COMMENT_REPLY_NOT_MATCH_COMMENT(1193,"该条回复不属于该评论"),
    ;

   private int code;
   private String msg;
    DynamicCommentReplyEnum(int code, String msg){
        this.code = code;
        this.msg = msg;
    }


    @Override
    public int code() {
        return this.code;
    }

    @Override
    public String msg() {
        return this.msg;
    }
}
